#include "myLine.h"

myLine::myLine(QWidget *parent) : QLineEdit(parent)
{

}

void myLine::mousePressEvent(QMouseEvent *ms)
{
    QLineEdit::clear();
    QLineEdit::setText("B");

}

void myLine::mouseReleaseEvent(QMouseEvent *ms)
{
    QLineEdit::clear();
    QLineEdit::setText("C");
}
